package vn.ducquoc.jersey.domain;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Domain class used as DTO, for JAXB marshalling to XML/JSON and vice-versa
 * 
 * @author ducquoc
 */
@XmlRootElement
public class Issue {

  private String description;
  private Integer id;
  private String summary;

  //these constructors are for JSON serialization
  public Issue() {
  }

  public Issue(String description, Integer id, String summary) {
    this.description = description;
    this.id = id;
    this.summary = summary;
  }

  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }
  public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getSummary() {
    return summary;
  }
  public void setSummary(String summary) {
    this.summary = summary;
  }

}
